import request from '@/utils/request'

const baseURL = '/reportReview';

/**
 *
 * @param {{
 *  current: Number
 *  size: number
 *  enterpriseId: number | string
 *  energyConsumptionLevel: string | number
 *  districtBelong: string | number
 *  state: string | number
 *  year: string | number
 *  quarter: string | number
 * }} params
 * @returns
 */
export function getReportReviewList (params) {
  return request({
    url: `${baseURL}/loadReportReviewPage`,
    method: 'post',
    data: params
  })
}

/**
 * 政府端审核上报时查询对应的报表
 * @param {*} enterpriseId
 * @param {*} year
 * @param {*} quarter
 * @returns
 */
export function getTabsOfTenantId (enterpriseId, year, quarter) {
  return request({
    url: `${baseURL}/list/${enterpriseId}/${year}/${quarter}`,
    method: 'get',
  })
}
